//
//  UIColor+Extension.swift
//  mySwiftWeibo
//
//  Created by apple on 16/7/25.
//  Copyright © 2016年 itcast沈庆伟. All rights reserved.
//

import UIKit


extension UIColor{
    
    ///返回随机颜色
    class func randomColor() -> UIColor{
       return UIColor(red: CGFloat(arc4random_uniform(256)) / 255.0, green: CGFloat(arc4random_uniform(256)) / 255.0, blue: CGFloat(arc4random_uniform(256)) / 255.0, alpha: 1)
    }
}